
//class extend
var extend = function(sub, parent){
	sub.prototype = parent;
	sub.prototype.constructor = sub;
};
